package com.health.ts.entity.register;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2017-07-05
 */
@TableName("sys_register")
public class Register extends Model<Register> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
	private String id;
    /**
     * 挂号医生id
     */
	private String apply_docid;
	/**
     * 申请医生id
     */
	private String assign_docid;
    /**
     * 患者id
     */
	private String patient_id;
    /**
     * 号源id
     */
	private String hyid;
    /**
     * 医院(被申请)
     */
	private String hospital_id;
    /**
     * 科室(被申请)
     */
	private String department_id;
    /**
     * 挂号费用
     */
	private String cost;
	/**
     * 挂号时间
     */
	private Date apply_time;
    /**
     * 创建时间
     */
	private Date create_time;
	
	/**
     * 挂号时间
     */
	private Date use_time;
	
	private String timetype;
	
	private String isReg;
	
	private String register_reson;
	
	/**
	 * 排班ID
	 */
	@TableField(exist=false)
	private String scheduId;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getHyid() {
		return hyid;
	}

	public void setHyid(String hyid) {
		this.hyid = hyid;
	}

	public String getCost() {
		return cost;
	}

	public void setCost(String cost) {
		this.cost = cost;
	}
	
	public String getApply_docid() {
		return apply_docid;
	}

	public void setApply_docid(String apply_docid) {
		this.apply_docid = apply_docid;
	}

	public String getPatient_id() {
		return patient_id;
	}

	public void setPatient_id(String patient_id) {
		this.patient_id = patient_id;
	}

	public String getHospital_id() {
		return hospital_id;
	}

	public void setHospital_id(String hospital_id) {
		this.hospital_id = hospital_id;
	}

	public String getDepartment_id() {
		return department_id;
	}

	public void setDepartment_id(String department_id) {
		this.department_id = department_id;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	
	public String getAssign_docid() {
		return assign_docid;
	}

	public void setAssign_docid(String assign_docid) {
		this.assign_docid = assign_docid;
	}
	
	public Date getApply_time() {
		return apply_time;
	}

	public void setApply_time(Date apply_time) {
		this.apply_time = apply_time;
	}
	
	public Date getUse_time() {
		return use_time;
	}

	public void setUse_time(Date use_time) {
		this.use_time = use_time;
	}

	public String getTimetype() {
		return timetype;
	}

	public void setTimetype(String timetype) {
		this.timetype = timetype;
	}
	
	public String getIsReg() {
		return isReg;
	}

	public void setIsReg(String isReg) {
		this.isReg = isReg;
	}
	
	public String getRegister_reson() {
		return register_reson;
	}

	public void setRegister_reson(String register_reson) {
		this.register_reson = register_reson;
	}

	public String getScheduId() {
		return scheduId;
	}

	public void setScheduId(String scheduId) {
		this.scheduId = scheduId;
	}
	
    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
